package org.example.graalvmdemo.model;

public class User {
    private Long id;
    private String name;

    // 无参构造函数（反射需要）
    public User() {}

    public User(Long id, String name) {
        this.id = id;
        this.name = name;
    }


    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getTestName() { return "test"; }

}